﻿@model MobileDesigner.Models.AdminEditUserModel

@{
    ViewBag.Title = "Удаление учетной записи";
}

<h2>Удаление учетной записи</h2>

<h3>Вы уверены, что хотите удалить учетную запись?</h3>
<fieldset>
    <legend>AdminEditUserModel</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Email)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Phone)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Phone)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.LastName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.UserGroup)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserGroup)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.SuperiorID)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SuperiorID)
    </div>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Удалить" /> |
        @Html.ActionLink("Назад к списку учетных записей", "Accounts")
    </p>
}
